home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6469 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: pravda.aa.msen.com!not-for-mail
  2. From: crandall@mail.msen.com (Chad Randall)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Visual E - New E Developer Tool - vedev.gif (0/1)
  5. Date: 28 Mar 1996 14:00:02 GMT
  6. Organization: Msen, Inc. -- Ann Arbor, MI.
  7. Message-ID: <4je612$dns@pravda.aa.msen.com>
  8. References: <68772090@0humpty.tomate.tng.oche.de> <Dou4u8.2H1@cix.compulink.co.uk> <4j7kil$pd3@pravda.aa.msen.com> <4jd2u9$1vac@thebes.waikato.ac.nz>
  9. NNTP-Posting-Host: conch.aa.msen.com
  10. X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]
  11.  
  12. Stephen B Hodge (sbh@cs.waikato.ac.nz) wrote:
  13. : Chad Randall (crandall@mail.msen.com) wrote:
  14. : : 
  15. : : Design flaws?  The only thing I can think of is a lack of strong
  16. : : datatyping.  Other than that, it has a better design in places than C does.
  17. : : And E is close to Java in design.  Exception handling, no messing with
  18. : : pointers, automatic memory deallocation, etc.  If Java is the next big thing,
  19. : : than E can't be too bad.
  20. : Java is based on C++. All of the things you have mentioned are in C++.
  21.  
  22. Java is based, *in part*, on C++.  The keywords, style, grammar and format is
  23. very close.  But, Java's underside is quite clearly different than C++.  I quote
  24. from "Java in a Nutshell" pg 15
  25.  
  26.   "C++ programmers should beware, though:
  27. While Java borrows a lot of terminology and even syntax from C++, the
  28. analogies between Java and C++ are not nearly as strong as those between Java
  29. and C.  C++ programmers should be careful not to be lulled into a false sense 
  30. of familiarity with Java because the languages share a number of keywords!"
  31.  
  32. Java has no pointers.  And while E does not eliminate pointers (it can't
  33. in theory, and still be Amiga-OS friendly).  It hides pointers much
  34. better than C or C++ does.
  35.  
  36. And I did not know that C++ could deallocate, *automatically*, allocated
  37. memory upon program exit, no matter how the program ends.
  38. Could you tell me how?
  39.  
  40. I did forget that C++ has exception handling.  But it does lack
  41. an equivalent to "EXCEPT DO", which I use alot.
  42.